class MovingObject{
    protected:
        double theWidth;
        StateVector theStateVector;
    public:
        void updateState();
        void updateState(double aDeltaTime);
        double getStateVector(){
            return theStateVector;
        }

        MovingObject(double anInitialState)
        {
            theStateVector.theCurrentState = anInitialState;
        }
};
